package com.wander.patterns.structure.decorator;

/**
 * @description:
 * @author: zhuyong
 * @create: 2019-09-04 12:09
 **/
public class AiCar extends SuperCar {
    public AiCar(ICar car) {
        super(car);
    }
    public void Ai(){
        System.out.println("具有人工智能系统");
    }

    @Override
    public void move() {
        super.move();
        Ai();
    }
}
